!function ($) {
	$(function() {
			$(document).ready(function() {
//--------------------------------------------------

			//Carousel
					$('.flexcarousel01').flexslider({
						animation: "slide",
						controlNav: false,              
						directionNav: true,
						prevText: "<i class='ico-prev ico01'></i>",       
						nextText: "<i class='ico-next ico01'></i>", 
						slideshow: false,
						slideshowSpeed: 3500,  
						reverse: false,
						animationLoop: false,
						animationSpeed: 800, 
						initDelay: 0,
						itemWidth: 94,
						itemMargin: 5,
						// Usability features
						pauseOnAction: true,            //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
						pauseOnHover: true,            //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
						useCSS: true,                   //{NEW} Boolean: Slider will use CSS3 transitions if available
						touch: true,                    //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices
						video: false,                   //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches
						randomize: true, 
					});
					
					$('.flexcarousel02').flexslider({
						animation: "slide",
						controlNav: false,              
						directionNav: true,
						prevText: "<i class='ico-prev ico01'></i>",       
						nextText: "<i class='ico-next ico01'></i>", 
						slideshow: false,
						slideshowSpeed: 3500,  
						reverse: false,
						animationLoop: false,
						animationSpeed: 800, 
						initDelay: 0,
						itemWidth: 120,
						itemMargin: 24,
						// Usability features
						pauseOnAction: true,            //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
						pauseOnHover: true,            //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
						useCSS: true,                   //{NEW} Boolean: Slider will use CSS3 transitions if available
						touch: true,                    //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices
						video: false,                   //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches
						randomize: true, 
					});
					
					$(window).load(function() {
						$('.flexslider').flexslider({
							animation: "slide",
							itemWidth: 380,
						});
					});

//--------------------------------------------------
			});
		});
}(window.jQuery)